package pl.edu.pw.ee.buildcity.gg;

import pl.edu.pw.ee.buildcity.commons.exceptions.BuildCityRuntimeException;

/**
 * @author mgrzechocinski
 * @since 2009-09-05
 */
public class MessageCannotBeSendException extends BuildCityRuntimeException {

	private static final long serialVersionUID = 1L;

	public MessageCannotBeSendException(Exception e) {
		super("Unknown error occurred: " + e.getMessage(), e);
	}

	public MessageCannotBeSendException(String ggExceptionMsg) {
		super("Message cannot be send due to gg exception: " + ggExceptionMsg);
	}
}
